package com.statistics.mapper;

import com.statistics.domain.bo.UnitAchievementBo;
import com.statistics.domain.vo.HxProjectNumVo;
import com.statistics.domain.vo.UnitPersonVo;
import com.statistics.domain.vo.ZxProjectNumVo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * FixedReportMapper
 *
 * @author chenyy
 * &#064;date 2025/2/25 17:00
 */
public interface FixedReportMapper {
    List<UnitAchievementBo> getUnitAchievement(@Param("year") Integer year);

    @MapKey("unitName")
    List<Map<String, Object>> getUnitHonor(@Param("years") List<Integer> years);

    List<UnitPersonVo> getUnitPersonType();

    List<HxProjectNumVo> getHxProjectNum(@Param("beginYear") Integer beginYear, @Param("endYear") Integer endYear);

    List<ZxProjectNumVo> getZxProjectNum(@Param("beginYear") Integer beginYear, @Param("endYear") Integer endYear);

    int getUnitNum();
}